import React from 'react';
import { Switch, Route } from 'react-router-dom';
import Dashboard from './dashboard';
import DownFiles from './DownFiles';

export default function Database() {
	return (
		<Switch>
			<Route
				exact
				path="/dashboard/center/:jobId/:taskCategory?"
				component={Dashboard}
			/>
			<Route exact path="/dashboard/downList" component={DownFiles} />
		</Switch>
	);
}
